package com.cyys.modules.system.dao.param;

import com.cyys.common.mapper.CyysBaseMapper;
import com.cyys.modules.system.model.param.ParamHoliday;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ParamHolidayDao extends CyysBaseMapper<ParamHoliday> {
	/**
	 * 根据条件查询所有数据
	 * 
	 * @param t
	 * @param isDelete
	 *            null,查询所有数据 0:查询未删除的数据,1:查询已删除的数据
	 * @return
	 */
	public List<ParamHoliday> listByCondition(@Param(value = "t") ParamHoliday t,
			@Param(value = "isDelete") Integer isDelete) ;

	public void coerceDeleteByDate(@Param(value = "date")String date);

	public ParamHoliday getByDate(@Param(value = "date")String date);

	public void coerceDeleteByYear(@Param(value = "year")String year);
	

}
